#include <iostream>
using namespace std;

class Test {
  public:
    Test(int a = 0, int b = 0, int c = 0) : x(a), y(b), z(c) {}

    void Print() {
        cout << x << endl;
        cout << y << endl;
    }

    void Print() const { cout << z << endl; }

  private:
    int x, y;
    const int z;
};

int main() {
    Test obj1;
    obj1.Print();

    Test obj2(1, 6, 8);
    obj2.Print();

    const Test obj3(6, 0, 18);
    obj3.Print();

    cout << endl;

    return 0;
}
